<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title><?php echo ($title); ?></title>
</head>
<body>
	<form action="/Admin/User/index" method="post">
		关键词：<input type="text" name="keywords">
		类型：
		<select name="type">
			<option value="username">用户名</option>
			<option value="name">昵称</option>
			<option value="id">ID</option>
		</select>
		<input type="submit" value="查询">
	</form>
	<p>用户列表</p>
	<table border="1" width="100%">
		<tr><th>用户名</th><th>昵称</th><th>是否激活</th><th>ID</th><th>操作</th></tr>
		<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$user): $mod = ($i % 2 );++$i;?><tr>
			<td><a href="/Admin/User/edit/id/<?php echo ($user['id']); ?>">用户名：<?php echo ($user['username']); ?></a></td>
			<td>用户名：<?php echo ($user['name']); ?></td>
			<td>用户名：<?php echo ($user['active']); ?></td>
			<td>用户名：<?php echo ($user['id']); ?></td>
			<td><a href="/Admin/User/delete/id/<?php echo ($user['id']); ?>">删除</a></td>
		</tr><?php endforeach; endif; else: echo "" ;endif; ?>
	</table>
</body>
</html>